/*
 * @Author: your name
 * @Date: 2021-05-13 21:59:17
 * @LastEditTime: 2021-05-13 22:04:09
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \learn_crate\src\main.rs
 */
mod factory{
    pub mod produce_refrigerator{
       pub fn produce_re(){
            println!("produe refrigerator!");
        }
    }
    mod produce_washing_machine{
        fn produce_washing_machining(){
            println!("produce washing machine!");
        }
    }
}

fn main() {
    factory::produce_refrigerator::produce_re();
    println!("Hello, world!");
}
